package lab02.test07;

public class Test {
    public static void main(String[] args) {
        /**
         * 程序执行流程
         */
        Person chen=new Person();
        chen.name="chengongsuo";
        chen.age=20;
        chen.idcard="112345678";
        System.out.println( chen.getString());


        Student zhen=new Student();
        zhen.name="zhen";
        zhen.age=20;
        zhen.idcard="123456789";
        zhen.sno="1122334";
        zhen.university="sctu";
        System.out.println(zhen.getString());
    }

}
